import axios from 'axios';

export const getServiceGroupList = async (data) => {
  const response = await axios.post('/serviceGroup/getList', data);
  return response.data;
};

export const saveServiceGroup = async (data) => {
  const response = await axios.post('/serviceGroup/saveServiceGroup', data);
  return response.data;
};

export const deleteServiceGroup = async (id) => {
  const response = await axios.delete(`/serviceGroup/${id}`);
  return response.data;
};